package com.hexb.smh.entity.param.product;

import com.hexb.core.model.enums.OrderType;
import com.hexb.smh.entity.enums.ProductPriceKey;
import com.hexb.smh.entity.enums.ProductSortKey;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author : hexb
 */
@Data
public class ProductQueryParam {

    @ApiModelProperty("搜索关键字(匹配名称或简码)")
    private String searchKey;

    @ApiModelProperty("是否上架中")
    private Boolean activated;

    @ApiModelProperty("可排序key")
    private ProductSortKey sortKey;

    @ApiModelProperty("排序类型")
    private OrderType sortType;

    @ApiModelProperty("id列表")
    private Integer[] ids;

}
